package cn.edu.ujn.booksshop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.Stock;

public interface StockMapper {
    int deleteByPrimaryKey(Integer stockid);

    int insert(Stock row);

    int insertSelective(Stock row);

    Stock selectByPrimaryKey(Integer stockid);

    int updateByPrimaryKeySelective(Stock row);

    int updateByPrimaryKey(Stock row);
    
    List<Stock> selectAll(@Param("page") Integer page,@Param("rows") Integer rows);

    Integer selectStockListCount();
}